package com.xcm.constant;

/**
 * 业务常量类
 */
public class BusinessConstant {
	/**
	 * 删除
	 */
	public static final int DEVICE_UPGRADE_IS_DELETED_YES = 1;
	/**
	 * 可用
	 */
	public static final int DEVICE_UPGRADE_IS_DELETED_NO = 0;

	/**
	 * 所有设备all_device
	 */
	public static final String GROUP_CODE_ALL_DEVICE = "all_device";
	/**
	 * 终端信息启用定时
	 */
	public static final int DEVICE_INFO_USE_TIMER_ON = 1;
	/**
	 * 终端信息关闭定时
	 */
	public static final int DEVICE_INFO_USE_TIMER_OFF = 0;
	/**
	 * 1:强制升级
	 */
	public static final int DEVICE_UPGRADE_FORCE_YEE = 1;
	/**
	 * 0:不强制
	 */
	public static final int DEVICE_UPGRADE_FORCE_NO = 0;

	/**
	 * 终端升级类型-软件
	 */
	public static final int DEVICE_UPGRADE_TYPE_SOFTWARE = 0;
	/**
	 * 终端升级类型-固件
	 */
	public static final int DEVICE_UPGRADE_TYPE_FIRMWARE = 1;
	/**
	 * 文件后缀名-apk
	 */
	public static final String FILE_SUFFIX_APK = ".apk";
	/**
	 * 文件后缀名-zip
	 */
	public static final String FILE_SUFFIX_ZIP = ".zip";
	/**
	 * 终端下载节目状态-成功
	 */
	public static final int PROGRAMJSON_DEVICE_DOWNlOADED = 0;
	/**
	 * 终端下载节目状态-下载中
	 */
	public static final int PROGRAMJSON_DEVICE_DOWNLOADING = 1;
	/**
	 * 终端下载节目状态-下载失败
	 */
	public static final int PROGRAMJSON_DEVICE_DOWNLOAD_FAILED = 2;
	/**
	 * 终端状态-在线
	 */
	public static final int DEVICE_INFO_STATUS_ON_LINE = 0;
	/**
	 * 终端状态-离线
	 */
	public static final int DEVICE_INFO_STATUS_OFF_LINE = 1;
	/**
	 * 下载状态-已下载
	 */
	public static final int PROGRAMJSON_STATE_DOWNLOAD_SUCESS = 0;
	/**
	 * 下载状态-下载中
	 */
	public static final int PROGRAMJSON_STATE_DOWNLOADING = 1;
	/**
	 * 下载状态-下载失败
	 */
	public static final int PROGRAMJSON_STATE_DOWNLOAD_FAIL = 2;

	/**
	 * 验证通过
	 */
	public static final int PROGRAMJSON_AUTH_STATE_SUCESS = 0;
	/**
	 * 验证失败
	 */
	public static final int PROGRAMJSON_AUTH_STATE_FAIL = 1;

}
